Versions:
JwksFetch is a small command-line tool by ShikeChen that fetches a public verification key from a JWKS endpoint, or by way of OIDC discovery, and emits it as PEM. The jwksfetch program is a single Native AOT executable, so no .NET runtime has to be installed. It retrieves a public JSON Web Key from a remote JWKS endpoint or locates the endpoint through OpenID Connect discovery, and then writes the key in PEM format to standard output. The tool is designed as a companion to jwtdecode from the same author: its output can be piped directly into jwtdecode with the options for verification from a key file read from standard input, which results in end-to-end offline JWT verification after the initial key fetch. The software belongs to the category of security and developer command-line tools, with tags for JWKS, JWT, JSON Web Key, OIDC, cli, security and cryptography. Typical use cases are obtaining the signing key of an identity provider for checking tokens, storing a key locally for later verification without network access and integrating key retrieval into scripts and pipelines. Developers, API testers and security engineers working with OAuth and OpenID Connect are the usual audience. The current release of JwksFetch is version 1.2.2.
Tags: